
//调查文档的对话框
var threebbscDlg = null;

function threebbscDlgInit(){
	if(threebbscDlg==null){//如果对话框不存在，那么创建
		threebbscDlgCreate();
		threebbscDlg.zindex();
	}else if(itemExistArray(threebbscDlg,minDlgArray)){//如果对话框存在，且对话框处在最小化的状态
		//调用minbar.js之中的还原方法
		resizeMinDlgFuncBySecondaryfuncDiv(threebbscDlg);
	}
	threebbscDlg.zindex();
}	

//创建对话框
function threebbscDlgCreate(){
	threebbscDlg =  $.dialog({
		title: '报表生成',
		content: 'url:jsp/bbsc/bbsc.jsp',
		dlgDivId: "threebbscDlgId",
		resize: false,
		max: false,
		left:(document.documentElement.clientWidth-830)/2+"px",
		top:'200px',
		width:'830px',
		height:'400px',
		min:threebbscDlgMinFunction,
		close:threebbscDlgCloseFunction,
		
	});
}

//关闭的方法
function threebbscDlgCloseFunction(){
	threebbscDlg = null;
}

//最小化的方法
function threebbscDlgMinFunction(){
	minDlgByAnimate(threebbscDlg);
}
